#include <iostream>

class Component {
public:
    Component() = default;

    Component(const Component&) 
    { 
        std::cout << "Component(const Component&)" << std::endl;
    }

    Component(Component&&)
    { 
        std::cout << "Component(Component&&)" << std::endl;
    }
};


class Container {
private:
    Component Comp;

public:
    Container() = default;
    ~Container()
    {
        std::cout << "~Container()" << std::endl;
    }

    Container(Container&&) = default;
};

int main() {
    Container c;
    Container c1(std::move(c));

    return 0;
}